// 封装本地存储
const KEY = 'my-token-element-pc'
// 获取
export const getToken = () => {
  return window.localStorage.getItem(KEY)
}
// 设置
export const setToken = (newToken) => {
  window.localStorage.setItem(KEY, newToken)
}
// 删除
export const delToken = () => {
  window.localStorage.delToken(KEY)
}
